/* eslint-disable no-unused-vars */
import Konva from 'konva'

export interface IKonvaTool {
  status: 'waiting' | 'drawing'

  points: number[]

  beginPos: number[]

  endPos: number[]

  angle: number

  konvaGroup: Konva.Group

  mousedown(points: number[], scale: number, node: object): void

  mousemove(points: number[], scale: number): void

  mouseup(points: number[], scale: number, node: object): void

  clean(): void
}
